package com.polymorphic多态.练习题.练习01;

public class main {  //hsp316-317集
    public static void main(String[] args) {
        Manager m = new Manager("jack", 5000, 1000);
        Worker w = new Worker("rose", 3000);
        E e = new E();
        System.out.println(e.showEmpAnnual(m));


        System.out.println(e.showEmpAnnual(w));

        System.out.println("==================================");

        e.testWork(m);
        e.testWork(w);



    }
}
